In the use of Linux host, the general use of the environment are apache+php+mysql to use, in fact, with your use of PHP, Mysql does not matter.
The key is Apache settings, generally as long as the httpd.conf set up. Htaccess can be used normally.
What is htaccess
As an overview, the htaccess file is a configuration file in the Apache server that is responsible for the page configuration in the related directory. Through the htaccess file, you can help us achieve: Web 301 redirect, custom 404
What is htaccess
As an overview, the htaccess file is a configuration file in the Apache server that is responsible for the page configuration in the related directory. Through the htaccess file, you can help us achieve: Web 301 redirect, custom 404
Use. htaccess to cache browser image files ,. Using. htaccess to cache browser image files. for image websites, you need to download images again every time you open the page. this is a waste of traffic. In this case, you need to use. htaccess to
Re-redirectNote: First you need the server to install and enable the Mod_rewrite module.Mandatory wwwRewriteengine onRewritecond%{http_host} ^example\.com [NC]Rewriterule ^ (. *) $ http://www.example.com/$1 [L,R=301,NC] Mandatory www common
Provides various official and user-released code examples. For code reference, you are welcome to learn how to use. htaccess to set website compression and cache.
Original reprinted address: http://www.jb100.net/html/content-22-738-1.html
Add the
After purchasing a server space, a friend who built the website for the first time may call the root directory of the space. the htaccess file is confused. I don't know what it is or what it is used for. This article will explain in detail what is
1. Static cookie Creation
It takes about 80% to 90% of the time, and the visitor will spend a lot of time waiting for your Wordpress to Load Static content. This means that most of the time users browse your website, they are waiting to load, such
"Web front-end base to combat series of courses" Absrtact: Mod_expires&mod_headers can reduce the repeat request of about 10%, so that the duplicate user will cache the result of the specified page request and not make a request to the server at
Setting the expiration date or maximum presence time for static resources in the HTTP header instructs the browser to load previously downloaded resources from the local disk instead of being loaded over the network. This allows the site to load
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.